package com.yrk.dao;

import com.yrk.entity.User;

public interface UserDao {
    //登录
    User findByUsername(String username);
    //检查名字是否重复
    String findName(String username);
    //注册
    int registUser(User user);
}
